﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace IT_Pro.Forms
{
    public partial class frmLogChinhSach : DevExpress.XtraEditors.XtraForm
    {
        public frmLogChinhSach()
        {
            InitializeComponent();
        }

        private void frmLogChinhSach_Load(object sender, EventArgs e)
        {
            gridItem.DataSource = Class.TK_ThongKe.LOG_ChinhSachHeThong_GetList();
            gridOnline.DataSource = Class.TK_ThongKe.LOG_Online_GetList();
        }

        private void reloadToolStripMenuItem_Click(object sender, EventArgs e)
        {
            gridItem.DataSource = Class.TK_ThongKe.LOG_ChinhSachHeThong_GetList();
            gridOnline.DataSource = Class.TK_ThongKe.LOG_Online_GetList();
        }

        private void computerInfoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmComputerManager frm = new frmComputerManager();
            frm.ShowDialog();
        }
    }
}